Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 18: Controlling Texture Mapping

../ch18/18fig25b.gif
Figure 18.25b

A brick texture repeatedly mapped to a Box node's shape using a TextureTransform node.

18fig25b.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Shape {
    appearance Appearance {
        material Material { }
        texture ImageTexture {
            url "brick.jpg"
        }
        textureTransform TextureTransform {
            scale 3.0 3.0
        }
    }
    geometry Box { }
}